﻿namespace Traffic.Entity;

/// <summary>
/// 会员分级绑定权益列表
/// </summary>
public partial class MemberLevelBindFunction
{
    public int Id { get; set; }

    /// <summary>
    /// 商户ID，对应Business.ID
    /// </summary>
    public int BusinessId { get; set; }

    /// <summary>
    /// 会员等级ID，对应MemberLevel.ID
    /// </summary>
    public int LevelId { get; set; }

    /// <summary>
    /// 会员级别名称，对应MemberLevel.LevelName
    /// </summary>
    public string LevelName { get; set; } = null!;

    /// <summary>
    /// 权益功能ID，对应MemberFunction.ID
    /// </summary>
    public int FunctionId { get; set; }

    /// <summary>
    /// 权益规则名称，对应MemberFunction.FunctionName
    /// </summary>
    public string? FunctionName { get; set; }

    /// <summary>
    /// 是否有效，默认0：否   1：是
    /// </summary>
    public bool IsEffect { get; set; }

    /// <summary>
    /// 是否有效   默认1：正常  0：作废。
    /// </summary>
    public bool Status { get; set; }
}
